<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>单选和复选</title>
</head>
<body>
    <form method="post">
        <label for="man">性别</label>
        <label for="man">男</label>
        <input type="radio" name="sex" id="man" value="1"/>
        <label for="woman">女</label>
        <input type="radio" name="sex" id="woman" value="2"/>
    </form>
</body>
</html>